const userRouter =  require("../router.js")
const {verifyParams} = require("@common/middleware")
const descriptor = require("./validate")
const {handleParams} = require("./register.middleware.js")
const {create} = require("./register.controller")

userRouter.post("/register",verifyParams(descriptor),handleParams,create)

